<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:r="http://ricchieri.com/facelets"
	xmlns:p="http://primefaces.org/ui">
	<h:head>
	</h:head>
	<h:body>
		<ui:composition template="../../templates/commonLayoutOther.xhtml">
			<ui:define name="title">#{msg.titleOther}</ui:define>
			<ui:define name="content">
			
				<r:charterInfo manageBean="#{addCharterExpenseMB}" charter="#{addCharterExpenseMB.charter}"/>
				
				<h:form id="addCharterExpense">
				
					<r:commonCharterExpense manageBean="#{addCharterExpenseMB}"/>

					<h:panelGrid columns="4" style="margin-top:10px; text-align:center">

						<p:commandButton id="searchCharter" value="#{msg.searchCharter}" action="#{addCharterExpenseMB.doBackToSearchCharter}" immediate="true"
							ajax="false" styleClass="button-action green" />
							
						<p:commandButton id="viewCharter" value="#{msg.searchedCharter}" action="#{addCharterExpenseMB.doBackToViewCharter}" immediate="true"
							ajax="false" styleClass="button-action green" />
					
						<p:commandButton id="reset" value="#{msg.resetButton}" type="reset"
							ajax="false" styleClass="button-action green" />
						<p:commandButton id="search" value="#{msg.addButton}"
							action="#{addCharterExpenseMB.save}" ajax="false" 
							styleClass="button-action green" />
					</h:panelGrid>
				</h:form>
			</ui:define>
		</ui:composition>
	</h:body>
</html>
